/**
 * @ author: 汪孟苹
 */
define(["jquery","template",
	"fu/app/specialNurse/specialNurseList.servers",
	"fu/template/specialNurse/specialNurseList.tpl"],function($,template,$servers,tpl){
	var ui = {};

	var drawBabyList = function(data){
		return template("tpl_specialNurseList_babyList",data);
	}   

	ui.babyListInit = function(options){
		var data = {
			rows:$servers.babyListData(options.list,options.rows)
		};
		$("#"+options.id).html(tpl.init());
		var h = drawBabyList(data);
		$("#"+options.id).html(h);
	}
	
	return ui;
});